package com.quiz.bis.service;


import com.quiz.bis.domain.bo.BisManualPaperBo;
import com.quiz.bis.domain.vo.BisPaperQuestionDetailVo;
import com.quiz.bis.domain.vo.BisPapersDetailVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


/**
 * 试卷管理服务接口
 * @author ahuan
 */
public interface IBisPaperService {

    Long manualPaper(BisManualPaperBo bo);

    BisPapersDetailVo getPaperDetail(Long paperId);

    BisPaperQuestionDetailVo getPaperEditDetail(Long paperId);


    Long editPaper(BisManualPaperBo bo);

    Boolean deletePaperQuestion(List<Long> quesIds);


    Boolean publishPaper(Long paperId);

    Boolean recallPaper(Long paperId);

    Boolean archivePaper(Long paperId);

    void exportPaper(Long paperId, HttpServletResponse response);

    void exportWord(Long paperId, HttpServletResponse response);
}
